<%@tag pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="consignum" tagdir="/WEB-INF/tags"%>
<%@attribute name="id"%>
<%@attribute name="action"%>
<%@attribute name="styleClass"%>
<%@attribute name="noStyleClass" type="java.lang.Boolean"%>
<%@attribute name="style"%>
<%@attribute name="method"%>
<%@attribute name="enctype"%>
<%@attribute name="rendered" type="java.lang.Boolean"%>
<c:if test="${empty rendered or rendered eq true}">
	<form  onsubmit="return false;" 
	<consignum:renderedField field="enctype" value="${enctype}" />
		<consignum:renderedField field="id" value="${id}" />
		<consignum:renderedField field="name" value="${id}" />
		<consignum:renderedField field="method" value="${method}" defaultValue="post" />
		<consignum:renderedField field="action" value="${action}" />
		<c:if test="${empty noStyleClass or noStyleClass eq true }">
			<consignum:renderedField field="class" value="${styleClass}" defaultValue="smart-form" />
		</c:if>
		<consignum:renderedField field="style" value="${style}" defaultValue="margin-top:10px;"/> >
		
		<div class="well" style="padding: 10px; border-radius: 5px;">
			<jsp:doBody />
		</div>
		<consignum:param id="tokenGerado" value="${tokenGerado}" />
	</form>
</c:if>
